<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>  </title>
    <style>
        div{
            width: 200px;
            height: 200px;
        }

        .box1{
            background-color: red;
            position: relative;
            left: 100px;
            top: 100px;
        }

        .box2{
            background-color: blue;
        }


    </style>
</head>
<body>
 <div class="box1"></div>
 <div class="box2"></div>
</body>
</html>